package com.hua.struct;


public class BreakDemo01 {
    public static void main(String[] args) {
        int i = 0;
        while (i<100){
            i++;
            System.out.println(i);
            if (i==30){
                break;//停止了，并未终止程序
            }

        }
        System.out.println("程序还在运行");




    }


}
